// 该文件负责所有的公共的组件的全局注册   Vue.use
import PageTools from './PageTools'
import UploadExcel from './UploadExcel'
import ImageUpload from './ImageUpload'
import Print from 'vue-print-nb'
import ScreenFull from './ScreenFull'
import LangSelect from './lang'
import TagsView from './TagsView'
import ThemePicker from './ThemePicker'
export default {
  install (Vue) {
    //  注册全局的通用栏组件对象
    Vue.component('PageTools', PageTools) // 注册工具栏组件
    Vue.component('UploadExcel', UploadExcel) // 注册导入excel组件
    Vue.component('ImageUpload', ImageUpload) // 注册头像组件
    Vue.use(Print) // 注册打印插件
    Vue.component('ScreenFull', ScreenFull) // 全屏组件
    Vue.component('LangSelect', LangSelect) // 语言切换组件
    Vue.component('TagsView', TagsView) // 多页签
    Vue.component('ThemePicker', ThemePicker) // 动态主题
  }
}
